/* 
 * File:   Neuron.h
 * Author: André
 *
 * Created on November 30, 2012, 9:11 PM
 */

#ifndef NEURON_H
#define	NEURON_H

class Neuron {
public:
    Neuron();
    
    void setValue(double v);
    void setDelta(double d);
    double getValue();
    double getDelta();
    
    virtual ~Neuron();
private:
    double value;                                                               // sum of weights * values of previous nodes on previous layer (NOT ACTIVATED)
    double delta;                                                               // error gradient for every neuron
};

#endif	/* NEURON_H */

